package chapter5.extend;

public class Orange extends Fruit {
    public static void main(String[] args) {
        Orange orange = new Orange();
        orange.setWeight(56);
        //Orange类的info从父类继承而来
        orange.info();
    }
}
